﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjectRoughWork
{
    class EventDealDamage : BaseEventData 
    {
        /// <summary>
        /// 3-Parameter Constructor to initialize the actor to be hit, the damage to be taken and the radius of the damage
        /// </summary>
        /// <param name="initActorID">The actor to be hit</param>
        /// <param name="initDamage">The damage to be taken</param>
        /// <param name="radius">The radius of deal damage to</param>

        public EventDealDamage(int initActorID, int initDamage, int radius)
            : base()
        {
            eventType = "DealDamage";

            actorID = initActorID;
            damage = initDamage;
        }

        /// <summary>
        /// Property to retrieve tha actor to be hit
        /// </summary>

        public int ActorID
        {
            get { return actorID; }
        }

        /// <summary>
        /// Property to retrieve the amount of damage to deal
        /// </summary>

        public int Damage
        {
            get { return damage; }
        }

        /// <summary>
        /// Property to retrieve the radius to deal damage 
        /// </summary>

        public int Radius
        {
            get { return radius; }
        }

        int actorID;                //Actor to be hit
        int damage;                 //Damage to be dealt
        int radius;                 //Radius to deal damage
    }
}
